﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x020000A1 RID: 161
	internal class Int8Int32 : IInt32Decoder
	{
		// Token: 0x06000294 RID: 660 RVA: 0x0000B72D File Offset: 0x00009B2D
		private Int8Int32()
		{
		}

		// Token: 0x06000295 RID: 661 RVA: 0x0000B735 File Offset: 0x00009B35
		public int Read(byte[] bytes, int offset, out int readSize)
		{
			readSize = 2;
			return (int)((sbyte)bytes[offset + 1]);
		}

		// Token: 0x040000C3 RID: 195
		internal static readonly IInt32Decoder Instance = new Int8Int32();
	}
}
